<Code Lib>
2024 Method
Changes 0
M

BeamSystem.Create(Document, IList<Curve>, Level, XYZ, Boolean)

Description:
Creates a new BeamSystem with specified profile curves.

public static BeamSystem Create(
	Document document,
	IList<Curve> profile,
	Level level,
	XYZ direction,
	bool is3d
)

  • document
    The document in which the new BeamSystem is created.
  • IList<Curve>
    profile
    The profile of the BeamSystem.
  • level
    The level on which the BeamSystem is to be created. The work-plane of the BeamSystem will be the sketch plane associated with the Level. If there is no current sketch plane associated with the level yet, we will create a default one.
  • direction
    The direction is the direction of the BeamSystem.
  • Boolean
    is3d
    Whether the BeamSystem is 3D. If the BeamSystem is 3D, the sketchPlane must be a level, otherwise an exception will be thrown.
Return Value BeamSystem If successful, a new BeamSystem object will be returned.

Loading…